import type { Route } from '../index.type'
import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'

// 抗干扰性能边界推算子系统
const route: Route[] = [
  {
    path: '/antiJamPerformBoundaryCalculate',
    component: Layout,
    redirect: '/antiJamPerformBoundaryCalculate/testSampleSelected',
    meta: { title: '抗干扰性能边界推算管理', icon: 'sfont system-zidingyi' },
    alwayShow: true,
    children: [
      {
        path: 'testSampleSelected',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceBoundaryCalculate/TestSampleSelected/index.vue')),
        meta: { title: '对抗案例选择' },
        // hideMenu: true
      },
      {
        path: 'boundaryCalculate',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceBoundaryCalculate/TestSampleSelected/BoundaryCalculate/index.vue')),
        meta: { title: '抗干扰性能边界推算表' },
        hideMenu: true
      }
    ]
  }
]

export default route
